//
//  TPPriceCell.m
//  TravelProject
//
//  Created by lanou3g on 15/11/24.
//  Copyright © 2015年 韩婷婷. All rights reserved.
//

#import "TPPriceCell.h"
#import "UIImageView+WebCache.h"

@implementation TPPriceCell

-(void)setRecomendModel:(RecomendDiscountModel *)recomendModel{
    _recomendModel = recomendModel;
    self.titleLabel.text = recomendModel.title;
    self.price.text = [NSString stringWithFormat:@"%@元起",[recomendModel.price substringWithRange:NSMakeRange(4,4)]];
    self.priceoffLabel.text = recomendModel.priceoff;
    [self.imagePicture sd_setImageWithURL:[NSURL URLWithString:recomendModel.photo]];
}
- (void)awakeFromNib {
    // Initialization code
}

@end
